﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ExpenseTracker.Entity
{
    public class Account
    {
        private string _databaseFileName;
        private string _databaseFilePath;

        public string DatabaseFileName { get { return _databaseFileName; } }
        public string DatabaseFilePath { get { return _databaseFilePath; } }

        public Account(string databaseFilePath) 
        {
            _databaseFilePath = databaseFilePath;
            FileInfo fileInfo = new FileInfo(DatabaseFilePath);
            _databaseFileName = fileInfo.Name;
        }
    }
}
